package com.ct.ycz_schedule.task;

import cn.hutool.log.StaticLog;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
public class RedisDataTask implements IScheduledTask{
    @Override
    public String getName() {
        return "redis-data-task";
    }

    @Override
    public void run() {
        //在这里同步缓存数据
        StaticLog.info("RedisDataTaskStart run");
    }
}
